package com.example.jh352160.surfingtv.mypage.childPage;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.TextView;

import com.example.jh352160.surfingtv.R;

/**
 * Created by jh352160 on 2016/7/26
 */

public class About_us_page extends AppCompatActivity {

    TextView textView;
    Toolbar toolbar;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.mypage_about_us);
        textView = (TextView) findViewById(R.id.text);
        toolbar = (Toolbar) findViewById(R.id.toolbar);
        setSupportActionBar(toolbar);
        getSupportActionBar().setDisplayHomeAsUpEnabled(true);
        getSupportActionBar().setTitle("");
        Animation alphaAnim = AnimationUtils.loadAnimation(this, R.anim.about_us);
        textView.startAnimation(alphaAnim);
    }
}
